-
Notifications
You must be signed in to change notification settings - Fork 21
DOCSP-44862 Update aggregation code examples #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCSP-44862 Update aggregation code examples #141
Conversation
✅ Deploy Preview for docs-rust ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really know Rust, but looks okay from a docs perspective!
@@ -1,6 +1,7 @@ | |||
use bson::{ doc, DateTime }; | |||
use bson::{ doc, DateTime, Document }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[note for tech reviewer] Are the all updates in this file also ok to backport for <3.0 versions or is there any difference to note?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual call to aggregate
is different pre-3.0 because the aggregate
method used to accept a second parameter with options, but the removal of from_document
would still apply
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, ty!
@@ -1,6 +1,7 @@ | |||
use bson::{ doc, DateTime }; | |||
use bson::{ doc, DateTime, Document }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual call to aggregate
is different pre-3.0 because the aggregate
method used to accept a second parameter with options, but the removal of from_document
would still apply
(cherry picked from commit 179c64e)
(cherry picked from commit 179c64e)
(cherry picked from commit 179c64e)
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-44862
Staging - https://deploy-preview-141--docs-rust.netlify.app/fundamentals/aggregation/
Self-Review Checklist